//
//  TestViewController.swift
//  HHSwift
//
//  Created by qk-huahong on 2019/6/20.
//  Copyright © 2019 huahong. All rights reserved.
//

import UIKit

class TestViewController: UIViewController{
    
    override func viewDidLoad() {
        super.viewDidLoad()
        self.view.backgroundColor = .groupTableViewBackground
        self.title = "测试"
        
        
//         let colorProgress = ColorProgress(frame: CGRect(x: 20, y: 300, width: UIScreen.main.bounds.size.width-40, height: 20))
//         view.addSubview(colorProgress)
//
//       Timer.scheduledTimer(withTimeInterval: 1, repeats: true) { (time) in
//           colorProgress.progress += 0.08
//           if colorProgress.progress >= 1.0 {
//               time.invalidate()
//           }
//       }
        
    }
    
}
